package org.jsola.hr.example;

import org.jsola.core.example.BaseExample;

/**
 * 表单字段
 *
 * @author zhr
 */
public class FormGroupFieldExample extends BaseExample {

    public static final String N_MODULE_NAME = "模块名称";
    public static final String E_MODULE_NAME = "name1";
    public static final String M_MODULE_NAME_MAX = N_MODULE_NAME + "长度不能超过50";
    public static final String M_MODULE_NAME_NOT_NULL = N_MODULE_NAME + "不能为null";
    public static final String N_MODULE_CODE = "模块code";
    public static final String E_MODULE_CODE = "";
    public static final String M_MODULE_CODE_MAX = N_MODULE_CODE + "长度不能超过30";
    public static final String M_MODULE_CODE_NOT_NULL = N_MODULE_CODE + "不能为null";
    public static final String N_FIELD_NAME = "字段名";
    public static final String E_FIELD_NAME = "name1";
    public static final String M_FIELD_NAME_MAX = N_FIELD_NAME + "长度不能超过32";
    public static final String M_FIELD_NAME_NOT_NULL = N_FIELD_NAME + "不能为null";
    public static final String N_FIELD_CODE = "字段";
    public static final String E_FIELD_CODE = "";
    public static final String M_FIELD_CODE_MAX = N_FIELD_CODE + "长度不能超过32";
    public static final String M_FIELD_CODE_NOT_NULL = N_FIELD_CODE + "不能为null";
    public static final String N_FIELD_SOURCE = "1系统字段；2自定义字段";
    public static final String E_FIELD_SOURCE = "1";
    public static final String M_FIELD_SOURCE_NOT_NULL = N_FIELD_SOURCE + "不能为null";
    public static final String N_FIELD_TYPE = "额外字段类型（1：下拉框，2：单行文本，3：日期选择器，4：多行输入框，5：数字输入框，6：地区，7：上传图片）";
    public static final String E_FIELD_TYPE = "1";
    public static final String M_FIELD_TYPE_NOT_NULL = N_FIELD_TYPE + "不能为null";
    public static final String N_OPTIONS = "字段为选项时使用，每个选项用,隔开";
    public static final String E_OPTIONS = "";
    public static final String M_OPTIONS_MAX = N_OPTIONS + "长度不能超过2147483647";
    public static final String N_SORT = "排序";
    public static final String E_SORT = "1";
    public static final String M_SORT_NOT_NULL = N_SORT + "不能为null";
    public static final String N_IS_EDIT = "是否可编辑（1：是，0：否）默认是";
    public static final String E_IS_EDIT = "1";
    public static final String M_IS_EDIT_NOT_NULL = N_IS_EDIT + "不能为null";
    public static final String N_IS_NECESSARY = "是否是必填项，1:必填 0:不必填";
    public static final String E_IS_NECESSARY = "true";
    public static final String M_IS_NECESSARY_NOT_NULL = N_IS_NECESSARY + "不能为null";
    public static final String N_IS_OPEN = "是否开启，1：开启，0：不开启";
    public static final String E_IS_OPEN = "true";
    public static final String M_IS_OPEN_NOT_NULL = N_IS_OPEN + "不能为null";
    public static final String N_SUBJECT_TYPE = "default";
    public static final String E_SUBJECT_TYPE = "";
    public static final String M_SUBJECT_TYPE_MAX = N_SUBJECT_TYPE + "长度不能超过100";
    public static final String M_SUBJECT_TYPE_NOT_NULL = N_SUBJECT_TYPE + "不能为null";
    public static final String N_SUBJECT_ID = "default存0";
    public static final String E_SUBJECT_ID = "";
    public static final String M_SUBJECT_ID_MAX = N_SUBJECT_ID + "长度不能超过100";
    public static final String M_SUBJECT_ID_NOT_NULL = N_SUBJECT_ID + "不能为null";
    public static final String N_GMT_CREATE_START = "创建时间开始范围";
    public static final String E_GMT_CREATE_START = "2015-08-13 13:05:00";
    public static final String N_GMT_CREATE_END = "创建时间结束范围";
    public static final String E_GMT_CREATE_END = "2040-08-14 13:05:00";
    public static final String N_GMT_MODIFIED_START = "修改时间开始范围";
    public static final String E_GMT_MODIFIED_START = "2015-08-13 13:05:00";
    public static final String N_GMT_MODIFIED_END = "修改时间结束范围";
    public static final String E_GMT_MODIFIED_END = "2040-08-14 13:05:00";

}

